import request from '@/utils/request.ts'

const baseURL = '/userStudyAnalysis'

/**
 * @name 获取用户学习情况分析
 * @description 只需要用户id
 */
function getStudyAnalysis(data: any) {
  return request({
    method: 'POST',
    url: `${baseURL}/getStudyAnalysis`,
    data
  })
}

/**
 * @name 获取用户身上的标签信息
 * @description 只需要用户id
 */
function getUserInfTag(data: any) {
  return request({
    method: 'POST',
    url: `${baseURL}/getUserInfTag`,
    data
  })
}

export default {
  getStudyAnalysis,
  getUserInfTag
}
